//
//  ILGLiveTool.m
//  IfengLiveRecord
//
//  Created by zhangtongle-Pro on 2017/9/8.
//  Copyright © 2017年 凤凰新媒体. All rights reserved.
//

#import "ILGLiveTool.h"

@implementation ILGLiveTool

- (instancetype)init
{
    self = [super init];
    if (self) {
        _cameraPosition = AVCaptureDevicePositionBack;
    }
    return self;
}

- (void)startPreview:(UIView *)view
{
    
}
- (void)startPreview:(UIView *)view inDirection:(UIInterfaceOrientation)direction
{
    
}
- (void)stopPreview
{
    
}

- (void)startPush:(NSString *)urlString
{
    
}
- (void)pausePush
{
    
}
- (void)stopPush
{
    
}

- (void)switchCamera
{
    if (_cameraPosition == AVCaptureDevicePositionFront) {
        _cameraPosition = AVCaptureDevicePositionBack;
    } else {
        _cameraPosition = AVCaptureDevicePositionFront;
    }
}

- (void)adjustBeautyValue:(CGFloat)value
{
    [self setValue:@(value) forKey:@"beautyValue"];
}

- (double)videoUploadBitrate
{
    return 0;
}

- (void)setBGMEarsBack:(BOOL)isOpen
{
    
}
@end
